package standalone;

import org.springframework.core.io.FileSystemResource;

import java.io.File;

public class UUIDFileResource extends FileSystemResource {

	private String mimeType;
	private File file;
	private String fileName;
	
	public UUIDFileResource(File file) {
		super(file);
	}

	public UUIDFileResource(File file, String fileName) {
		super(file);
		this.file = file;
		this.fileName = fileName;
	}
	
	public String getMimeType() {
		return mimeType;
	}

	public void setMimeType(String mimeType) {
		this.mimeType = mimeType;
	}
	public File getFile() {
		return file;
	}
	public void setFile(File file) {
		this.file = file;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
}
